<form id="modelBizLayerForm" lay-filter="modelBizLayerForm" class="layui-form model-form" style="padding: 1px;height: calc(100vh - 160px)">
	<input name="id" type="hidden" id="bizLayerId" value="#(layer?layer.id:'')" />
	<table class="formTable" id="modelBizLayerFormTable">
		<tr>
			<td>上级</td>
			<td>
				<input id="parentId" type="text" name="parentId"   lay-filter="parentId" autocomplete="off" placeholder="请选择" value="" class="layui-input">
			</td>
		</tr>	
		<tr>
			<td>名称</td>
			<td>
				<input name="name" value="#(layer?layer.name:'')" placeholder="" autocomplete="off" type="text" class="layui-input" maxlength="10" lay-verType="tips"
				 lay-verify="required" required />
			</td>
		</tr>
		<tr>
			<td>标识</td>
			<td>
				<input name="code" value="#(layer?layer.code:'')" placeholder="" maxlength="20" autocomplete="off" type="text" class="layui-input" />
			</td>
		</tr>
		#if(!layer)
		<tr>
				<td>类型</td>
				<td>
					<select name="type" lay-filter="type" lay-verify="required" required>
						<option value="">--请选择--</option>
						<option value="Layers">目录</option>
						<option value="Points">点数据</option>
						<option value="Polylines">线数据</option>
						<option value="Polygons">面数据</option>
						<option value="Maps">底图数据</option>
						<option value="Models">模型数据</option>
						<option value="Features">单体数据</option>
						<option value="VideoShed3ds">视频投影</option>
						<option value="VideoModels">视频模型</option>
						<option value="VideoPlanes">视频墙</option>
						<option value="Roams">漫游目录</option>
					</select>
				</td>
			</tr>
		#end
		<tr>
			<td>属性</td>
			<td>
				<select name="attribute" lay-filter="attribute" lay-verify="required" required>
					<option value="">--请选择--</option>
					#if(properties)
						#for(property : properties)
							<option value="#(property.VALUE)" #if(layer && layer.attribute==property.VALUE )  selected #end>#(property.NAME)</option>
						#end
					#end
				</select>
			</td>
		</tr>	
		<tr>
			<td>序号:</td>
			<td>
				<input name="sort" value="#(layer?layer.sort:0)" autocomplete="off" placeholder="请输入序号" type="number" class="layui-input" maxlength="20"/>
			</td>
		</tr>
		<tr>
			<td style="text-align: right;" colspan="2">
				<button class="layui-btn layui-btn-orange" lay-filter="submitBizLayerForm" lay-submit>保存</button>
			</td>
		</tr>
	</table>
</form>